package org.agile2soft.nexoma.tapestry.model;

import java.util.Locale;
import java.util.Map;

import org.apache.tapestry5.OptionModel;

public class LocaleOptionModel implements OptionModel {

    private Locale locale;
    private String label;

    public LocaleOptionModel(Locale locale, String label)  {
        this.locale = locale;
        this.label = label;
    }

    public Map<String, String> getAttributes() {
        return null;
    }

    public String getLabel() {
        return label;
    }

    public Object getValue() {
        return locale;
    }

    public boolean isDisabled() {
        return false;
    }

}